package com.ruoyi.wx.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.user.domain.vo.ExpertLoginVO;
import com.ruoyi.user.domain.vo.ExpertPwd;
import com.ruoyi.wx.vo.WxLoginVo;

import javax.servlet.http.HttpServletRequest;

public interface WxLoginService {

    AjaxResult wxLogin(WxLoginVo wxLoginVo);

    AjaxResult logout(HttpServletRequest request);

    /**
     * 专家登录
     * @param expertLoginVO
     * @return
     */
    AjaxResult expertLogin(ExpertLoginVO expertLoginVO);

    AjaxResult register(ExpertLoginVO expertLoginVO);

    AjaxResult updateExpertPwd(ExpertPwd expertPwd);

    /**
     * 用户端邀请码生成
     * @param wxLoginVo
     * @return
     */
    AjaxResult QRCodeLogin(WxLoginVo wxLoginVo);
}
